<?php use_helper('I18N') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<link rel="stylesheet" href="/css/coc.css" type="text/css" />
<link rel="stylesheet" href="/css/bigpicture.css" type="text/css" />
<link rel="stylesheet" href="/mootools/sexylightbox.css" type="text/css" media="all" />
<script type="text/javascript" language="javascript" src="/calendarDateInput.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.3/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="/mootools/sexylightbox.v2.3.mootools.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="/animatedcollapse.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
	SexyLightbox = new SexyLightBox({color:'white', dir: '/mootools/sexyimages'});
});

function LTrim(str)
{
   	var whitespace = new String(" \t\n\r");

   	var s = new String(str);

   	if (whitespace.indexOf(s.charAt(0)) != -1) {
      	var j=0, i = s.length;

		while (j < i && whitespace.indexOf(s.charAt(j)) != -1)
			j++;

		s = s.substring(j, i);
   }
   return s;
}

function RTrim(str)
{
   	var whitespace = new String(" \t\n\r");

   	var s = new String(str);

	if (whitespace.indexOf(s.charAt(s.length-1)) != -1) {
      	var i = s.length - 1;

		while (i >= 0 && whitespace.indexOf(s.charAt(i)) != -1)
        	i--;

		s = s.substring(0, i+1);
   }

   return s;
}

function Trim(str)
{
   return RTrim(LTrim(str));
}

function roll_over(img_name, img_src)
{
   document[img_name].src = img_src
}

function change_class(object_name, class_name) {
	document.getElementById(object_name).className = class_name;
} 

<?php
if(!empty($message)){
    echo "alert('".$message."');";
}
?>
</script>

<!--  
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  <script type="text/javascript" src="/jquery/jquery.easing.1.3.js"></script>
  <script type="text/javascript" src="/jquery/sexylightbox.v2.3.jquery.min.js"></script>
  <link rel="stylesheet" href="/jquery/sexylightbox.css" type="text/css" media="all" />
  
  <script type="text/javascript">
    $(document).ready(function(){
      SexyLightbox.initialize({color:'black', dir: '/jquery/sexyimages', imagesdir: '/jquery/sexyimages'});
    });
  </script>
-->

<?php echo include_http_metas() ?>
<?php echo include_metas() ?>
<?php echo include_title() ?>
<?php echo include_stylesheets() ?>
<?php echo include_javascripts() ?>

<script type="text/JavaScript">
	function popup_window(mypage, myname, w, h, scroll) 
	{
		var lf = (screen.width - 480)/2;
		var tf = (screen.height - 350)/2;
		var sizeIt = "width="+w+",height="+h+",scrollbars=yes,resizable=no,top="+tf+",left="+lf;
		win = window.open(mypage,'mywindow',sizeIt);
		if (window.focus) 
		{
			win.focus();
		}
	}	
	
	
</script>
<script type="text/javascript" src="/popcalendar.js"></script>

</head>

<center>

<?php session_start(); ?>
<?php echo $content; ?>

</center>
</body>
</html>